package com.xiaoge.demo.configs;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@EntityScan(basePackages = {"com.xiaoge.demo.dto", "com.xiaoge.demo.pojo"})
@EnableJpaRepositories(basePackages = "com.xiaoge.demo.dao")
@EnableTransactionManagement
public class HibernateJpaConfig {

}